package com.htsk.city.services.core.dao;

import com.htsk.city.services.core.domain.WxUserAddress;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface WxUserAddressDao extends JpaRepository<WxUserAddress,Long> {

    List<WxUserAddress> findByWxUserIdAndDelFlag(Long wxUserId,Integer delFlag);

    WxUserAddress findByIdAndWxUserId(Long id,Long wxUserId);
}
